import type { PageQuery } from '@/types/app'

export type LogAuditRecords = {
  id: string

  event_id: string
  where_dev_ip_str: string
  when_op_recv_time: string
  how_log_coll_id: string
  what_op_app_id: string
  how_op_dev_type: string
  what_op_app_name: string
  how_op_dev_name: string
  how_log_orig_id: string
  what_log_orig: string
  wherefrom_dev_sip_int: string
  wherefrom_dev_sip_str: string
  wherefrom_dev_sip_place: string
  wherefrom_dev_smac: string
  wherefrom_dev_sport: string
  whereto_dev_dip_int: string
  whereto_dev_dip_str: string
  whereto_dev_dip_place: string
  whereto_dev_dmac: string
  whereto_dev_dport: string
  where_dev_name_str: string
  what_op_cont: string
  how_op_orig_type_id: string
  when_op_is_work_time: string
  who_adm_admintorg_id: string
  when_op_is_work_day: string
  how_op_audit_lv: string
  when_op_datetime: string
  how_op_mode: string
  when_op_timestamp: string
  what_dev_asset_name: string
  who_adm_admintorg_idpath: string
  what_dev_app_admin_name: string
  who_adm_admintorg_name: string
  what_dev_app_domain: string
  who_adm_audit_org_id: string
  what_dev_app_url: string
  who_adm_audit_org_name: string
  how_op_orig_type_name: string
  how_op_sub_type_name: string
  how_op_sub_type_id: string
  how_op_eve_id: string
  what_dev_app_pathid: string
  who_op_pri_acc_type: string
  what_dev_app_pathname: string
  who_op_pri_acc_state: string
  how_op_eve_name: string
  what_dev_app_id: string
  who_op_pri_acc_role_name: string
  what_dev_app_name: string
  when_op_ses_id: string
  what_dev_it_name: string
  who_op_sec_acc_type_name: string
  what_log_is_sens: string
  who_op_sec_acc_l_name: string
  what_log_remarksa1: string
  what_log_remarksa2: string
  what_log_remarksa3: string
  what_log_remarksa4: string
  what_log_remarksa5: string
  what_op_cont_brief: string
  how_treas_mode: string
  who_op_pri_acc_l_id: string
  what_treas_scene_id: string
  who_op_sec_acc_l_id: string
  how_treas_auth_mode: string
  who_op_pri_acc_city_id: string
  why_form_remarks: string
  who_op_pri_acc_name: string
  why_form_cont: string
  who_op_pri_acc_l_name: string
}

export type GetlogAuditParams = {
  page?: number
  pageSize?: number
  interfaceName?: string
  url?: string
  method?: string
  site?: string
  isRecorded?: boolean | ''
  createBeginTime?: string
  createEndTime?: string
}
// export type exportAssetInteractionChecked = {
//   ids: (string | number)[]
// }
export interface ExportAssetInteractionParams extends GetlogAuditParams {
  ids: (string | number)[]
}

/**
 * 获取接口列表参数
 */
export interface GetAssetInteraction extends PageQuery {}
